package com.multiplayer.entity;
/**
 * 学生实体类对应student表
 * @author zhangwenhao 0.0.1
 *@author liutiehui 0.0.2 2020-5-8 23:10
 */
public class Student {
	//学生号
	private String Sno;
	//学生姓名
	private String Sname;
	//学生性别
	private String Ssex;
	//学生年龄
	private Integer Sage;
	//班级
	private String Sclass;
	//学院
	private String Sacademy;
	
	//用户
	private User user;
	
	public Student() {
		super();
	}
	
	public Student(String sno, String userid, String sname, String ssex, Integer sage, String sclass, String sacademy) {
		super();
		Sno = sno;
		Sname = sname;
		Ssex = ssex;
		Sage = sage;
		Sclass = sclass;
		Sacademy = sacademy;
	}
	
	public String getSno() {
		return Sno;
	}
	public void setSno(String sno) {
		Sno = sno;
	}
	
	public String getSname() {
		return Sname;
	}
	public void setSname(String sname) {
		Sname = sname;
	}
	public String getSsex() {
		return Ssex;
	}
	public void setSsex(String ssex) {
		Ssex = ssex;
	}
	public Integer getSage() {
		return Sage;
	}
	public void setSage(Integer sage) {
		Sage = sage;
	}
	public String getSclass() {
		return Sclass;
	}
	public void setSclass(String sclass) {
		Sclass = sclass;
	}
	public String getSacademy() {
		return Sacademy;
	}
	public void setSacademy(String sacademy) {
		Sacademy = sacademy;
	}
	
	
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@Override
	public String toString() {
		return "Student [Sno=" + Sno  + ", Sname=" + Sname + ", Ssex=" + Ssex + ", Sage=" + Sage
				+ ", Sclass=" + Sclass + ", Sacademy=" + Sacademy + "]";
	}
	
	
}
